package com.dingpeikeji.quickdeer.core.modules.finance.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;

/**
 * 财务管理Entity
 */
public class TFinance extends DataEntity<TFinance> {
	
	private static final long serialVersionUID = 1L;
	
	private String orderid; // 主键
	private String ordername; // 订单名称
	private Office office;//公司
	private String maindriver;		// 司机id
	private String drvname;		// 司机名
	private String licno;		// 车牌号
	private String dueamount; // 应付金额
	private String orderRemarks; // 订单备注
	private String clientname; // 用车单位
	private String ordertype;
	
	private Double nowpay;//现收
	private Double downpay;//定金
	private Double ownpay;//挂账
	
	private Double nowpayget;//现收实收
	private Double downpayget;//定金实收
	private Double ownpayget;//挂账实收
	
	private String financeremark;//财务备注
	private String settlement;//是否结算 0否 1是
	private String istrouble; //是否问题订单
	private String reason;//问题理由
	
	private Double deductions;//扣款金额
	private String dedreason;//扣款原因
	
	
	public Double getDeductions() {
		return deductions;
	}
	public void setDeductions(Double deductions) {
		this.deductions = deductions;
	}
	public String getDedreason() {
		return dedreason;
	}
	public void setDedreason(String dedreason) {
		this.dedreason = dedreason;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public String getIstrouble() {
		return istrouble;
	}
	public void setIstrouble(String istrouble) {
		this.istrouble = istrouble;
	}
	public String getSettlement() {
		return settlement;
	}
	public void setSettlement(String settlement) {
		this.settlement = settlement;
	}
	public String getFinanceremark() {
		return financeremark;
	}
	public void setFinanceremark(String financeremark) {
		this.financeremark = financeremark;
	}
	public String getOrdertype() {
		return ordertype;
	}
	public void setOrdertype(String ordertype) {
		this.ordertype = ordertype;
	}
	public Office getOffice() {
		return office;
	}
	public void setOffice(Office office) {
		this.office = office;
	}
	public String getDrvname() {
		return drvname;
	}
	public void setDrvname(String drvname) {
		this.drvname = drvname;
	}
	public String getClientname() {
		return clientname;
	}
	public void setClientname(String clientname) {
		this.clientname = clientname;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getOrdername() {
		return ordername;
	}
	public void setOrdername(String ordername) {
		this.ordername = ordername;
	}
	public String getMaindriver() {
		return maindriver;
	}
	public void setMaindriver(String maindriver) {
		this.maindriver = maindriver;
	}
	public String getLicno() {
		return licno;
	}
	public void setLicno(String licno) {
		this.licno = licno;
	}
	public String getDueamount() {
		return dueamount;
	}
	public void setDueamount(String dueamount) {
		this.dueamount = dueamount;
	}
	public String getOrderRemarks() {
		return orderRemarks;
	}
	public void setOrderRemarks(String orderRemarks) {
		this.orderRemarks = orderRemarks;
	}
	public Double getNowpay() {
		return nowpay;
	}
	public void setNowpay(Double nowpay) {
		this.nowpay = nowpay;
	}
	public Double getDownpay() {
		return downpay;
	}
	public void setDownpay(Double downpay) {
		this.downpay = downpay;
	}
	public Double getOwnpay() {
		return ownpay;
	}
	public void setOwnpay(Double ownpay) {
		this.ownpay = ownpay;
	}
	public Double getNowpayget() {
		return nowpayget;
	}
	public void setNowpayget(Double nowpayget) {
		this.nowpayget = nowpayget;
	}
	public Double getDownpayget() {
		return downpayget;
	}
	public void setDownpayget(Double downpayget) {
		this.downpayget = downpayget;
	}
	public Double getOwnpayget() {
		return ownpayget;
	}
	public void setOwnpayget(Double ownpayget) {
		this.ownpayget = ownpayget;
	}
	
	
	
}